withAllExternalParentsOf

fun <T : KoExternalParentProvider> List<T>.withAllExternalParentsOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>

List containing declarations that have all external parents of the specified KClass type. The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations that have all external parents of the specified KClass type.

Parameters

kClass

The Kotlin class representing external parent to include.

kClasses

The Kotlin classes representing external parents to include.

indirectParents

Whether to include indirect external parents.


fun <T : KoExternalParentProvider> List<T>.withAllExternalParentsOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>

List containing declarations that have all external parents of the specified KClass type. The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations that have all external parents of the specified KClass type.

Parameters

kClasses

The Kotlin classes representing external parents to include.

indirectParents

Whether to include indirect external parents.